﻿<?php
	session_start();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>vnbookshop</title>
	<meta http-equiv="content-type" content="text/html; charset=utf8" />
	<link rel="stylesheet" href="css/style.css" type="text/css" />
</head>
<body>
	<div id="searchtop">
		<div id="container">
			<div id="signbtn">
				<a href="#" class="btnsignin">Đăng nhập</a>
				<a href="#" class="btnsignout" onclick="getFormRegister();">&nbsp;Đăng  kí &nbsp;</a>
			</div><!-- end #signbtn-->
			<div id="frmsignin">
				<form method="post" id="signin" action="#">
					<p id="puser">
						<img src="Images/username.png"><label for="username"> Username</label>
						<br />
						<input id="username" name="username" value="" title="username" tabindex="1" type="text" />
					</p>
					<p>
						<img src="Images/password.png"><label for="password"> Password</label>
						<br />
						<input id="password" name="password" value="" title="password" tabindex="2" type="password" />
					</p>
					<p class="submit">
						<input id="submitbtn" value="Đăng nhập" tabindex="3" type="submit" />
						<input id ="remember" name="remember" value="1" tabindex="4" type="checkbox" />
						<label for="remember">Remember me</label>
					</p>
				</form>
				<p id="msg"></p>
			</div>
			<!-- end #frmsignin-->
		</div><!-- end #container-->
		<input name="txtSearch" type="text" id="txtSearch" placeholder='Searching...' size=50;>
		<p>
			<a href="#"><img src="Images/search.png"></a>
		</p>
		<div id="total-quantity">
			<img src="images/giohang.png" />
			<p>
					<a onclick ="getCart();" >Bạn có <?php echo $_SESSION['totalQty']?> sản phẩm trong giỏ hàng!</a>
			</p>

		</div>
	</div><!--end #searchtop-->
	<div id="wrapper">
		<div class="header">
			<p><img src="Images/ebookbanner.gif" alt=""/>
			</p>
		</div>
		<!-- end #header-->
		<div id="menungang2">
			<div class="content">
				<ul id="sdt_menu" class="sdt_menu">
					<li>
						<a href="index.php"> <img src="images/menutop/1.png" alt=""/> <span class="sdt_active"></span> <span class="sdt_wrap"> <span class="sdt_link">Trang chủ</span> <span class="sdt_descr">Trang chính vnbookshop</span> </span> </a>
					</li>
					<li>
						<a href="#"> <img src="images/menutop/2.png" alt=""/> <span class="sdt_active"></span> <span class="sdt_wrap"> <span class="sdt_link">Cá nhân</span> <span class="sdt_descr">Quản lý tài khoản cá nhân</span> </span> </a>
						<div class="sdt_box">
							<a id="cart">Giỏ hàng</a>
							<a href="#">Tài khoản</a>
							<a href="#">Nạp tiền</a>
						</div><!-- end .sdt_box-->
					</li>
					<li>
						<a href="#"> <img src="images/menutop/3.png" alt=""/> <span class="sdt_active"></span> <span class="sdt_wrap"> <span class="sdt_link">Giới thiệu</span> <span class="sdt_descr">Giới thiệu về vnbookshop</span> </span> </a>
					</li>
					<li>
						<a href="#"> <img src="images/menutop/4.png" alt=""/> <span class="sdt_active"></span> <span class="sdt_wrap"> <span class="sdt_link">Tin tức</span> <span class="sdt_descr">Tin tức thị trường sách</span> </span> </a>
					</li>
					<li>
						<a href="#"> <img src="images/menutop/5.png" alt=""/> <span class="sdt_active"></span> <span class="sdt_wrap"> <span class="sdt_link">Sitemap</span> <span class="sdt_descr">Sơ đồ toàn bộ website</span> </span> </a>
					</li>
					<li>
						<a href="#"> <img src="images/menutop/6.png" alt=""/> <span class="sdt_active"></span> <span class="sdt_wrap"> <span class="sdt_link">Trợ giúp</span> <span class="sdt_descr">Liên hệ với BQT</span> </span> </a>
						<div class="sdt_box">
							<a href="#">Hỏi đáp online</a>
							<a href="#">Liên hệ cửa hàng</a>
							<a href="#">Hướng dẫn thanh toán</a>
						</div><!-- end .sdt_box-->
					</li>
				</ul>
			</div><!-- end #content-->

		</div><!-- end #menungang2-->
		<div id="body">
			<div id="body_left">
				<?php
					require_once('template/body_left.php');
					require_once ('lib/same_book.php');
				?>
			</div><!-- end .body_left -->
			<div id="body_main">
				<?php
					require_once('book.php');
				?>
			</div>
			<!-- end #bodymain-->
		</div><!-- end #body-->
		<div class="footer">
			<?php
				require_once('template/footer.php');
			?>
		</div><!-- end .footer-->
		<p id="back-top">
			<a href="#top"><span></span></a>
		</p>
	</div><!-- end #wapper-->
	<div class="vide"></div><!-- end #vide-->
	<!-------------------------------- The JavaScript --------------------------------------->
	<script type="text/javascript" src="js/jquery-1.6.2.js"></script>
	<script type="text/javascript" src="js/jquery.easing.1.3.js"></script>
	<script type="text/javascript" src="js/slide.js"></script>
	<script type="text/javascript" src="js/jquery.form-2.4.0.min.js"></script>
	<script type="text/javascript" src="js/jqeasy.dropdown.min.js"></script>
	<script type="text/javascript" src="js/lendautrang.js"></script>
	<script type="text/javascript" src="js/menungang.js"></script>
	<script type="text/javascript" src="js/json2.js"></script>
	<script type="text/javascript" src="js/main.js"></script>
	<!--<script type="text/javascript" src="js/formregister.js"></script>-->

	
	<link rel="stylesheet" href="search/jquery.ui.all.css">
	<script src="search/jquery.ui.core.js"></script>
	<script src="search/jquery.ui.widget.js"></script>
	<script src="search/jquery.ui.position.js"></script>
	<script src="search/jquery.ui.autocomplete.js"></script>
	<link rel="stylesheet" href="search/demos.css">
	<style>
	.ui-autocomplete-loading { background: white url('search/images/ui-anim_basic_16x16.gif') right center no-repeat; }
	</style>
	<script src="search/search-gangta.js">
	</script>
</body>
</html>